* {
    outline: 0;
    user-select: none;
}

/* 修改滚动条为黄色，宽度为3px */
::-webkit-scrollbar {
    width: 3px;
}

/* 修改滚动条轨道颜色为透明 */
::-webkit-scrollbar-track {
    background-color: transparent;
}

/* 修改滚动条滑块颜色为黄色 */
::-webkit-scrollbar-thumb {
    background-color: #666666;
}

html,
body {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    text-align: center;
    background-color: #bbe1ec;
}

#page-box {
    display: flex;
    justify-content: space-between;
    width: 200vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: left 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#page-home,
#page-game {
    width: 100vw;
    height: 100vh;
}

#page-home {
    /* background-color: #faf5b0; */
    background-color: #bbe1ec;
}

#page-game {
    background-color: #bbe1ec;
}

.button {
    padding: 8px 10px;
    line-height: 1;
    box-sizing: border-box;
    background-color: #fdf10d;
    border: #444444 solid 2px;
    border-radius: 100px;
    margin: 5px 10px;
}

.input {
    box-sizing: border-box;
    width: calc(100% - 20px);
    padding: 8px 10px;
    line-height: 1;
    background-color: #ffffff;
    border: #444444 solid 2px;
    border-radius: 100px;
    margin: 5px 10px;
}

.input[disabled]{
    background-color: #e5db63;
}

.toast{
    display: block;
    position: fixed;
    box-sizing: border-box;
    width: max-content;
    max-width: 80vw;
    height: max-content;
    padding: 10px 20px;
    top: 100px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #fceb32;
    border: #000000 solid 2px;
    color: #000000;
    border-radius: 6px;
    pointer-events: none;
}

@font-face {
    font-family: 'iconfont';
    src: url('../icon/iconfont.woff2?t=1713086382342') format('woff2'),
    url('../icon/iconfont.woff?t=1713086382342') format('woff'),
    url('../icon/iconfont.ttf?t=1713086382342') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}